package cn.com.dcsgo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 订单请求参数
 *
 * @author Dcsgo
 * @since 2025/11/16 16:11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "订单请求参数")
public class OrderQueryDTO {
    /**
     * 订单编号
     */
    @Schema(description = "订单编号")
    private String orderNumber;
    /**
     * 订单状态 1:待付款 2:待发货 3:待收货 4:待评价 5:成功 6:失败
     */
    @Schema(description = "订单状态 1:待付款 2:待发货 3:待收货 4:待评价 5:成功 6:失败")
    private Integer status;
    /**
     * 起始时间
     */
    @Schema(description = "起始时间")
    private LocalDateTime startTime;
    /**
     * 终止时间
     */
    @Schema(description = "终止时间")
    private LocalDateTime endTime;
}
